/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package padroes_3;

/**
 *
 * @author Delvoux
 */
public class Agencia {
    private String codigo;
    private Banco banco;

    public Agencia(){}

    public String getCodigo() {
        return codigo;
    }

    public void setCodigo(String codigo) {
        this.codigo = codigo;
    }
    
    @Override
    public String toString() {
        return "Agencia{" + "codigo=" + codigo + "banco=" + banco + '}';
    }
 
}

